home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / utility / 252 / dskpcsrc / event.def < prev    next >
Text File  |  1988-02-13  |  1KB  |  45 lines

  1. DEFINITION MODULE Event;
  2.  
  3.    (* This module defines procedures for processing the various *)
  4.    (* GEM events.                                               *)
  5.  
  6.  
  7.    VAR AccessoryMenuId : INTEGER;
  8.  
  9.       (* Contains the accessory menu id of the application. *)
  10.  
  11.  
  12.    PROCEDURE Initialize ();
  13.  
  14.       (* Initialize the subsystems managed by the Event module. *)
  15.  
  16.  
  17.    PROCEDURE ProcessTimer;
  18.  
  19.       (* Process a time event. *)
  20.  
  21.  
  22.    PROCEDURE ProcessMessage ( WindowId      : INTEGER;
  23.                               VAR MsgBuffer : ARRAY OF INTEGER );
  24.  
  25.       (* Process a message event. *)
  26.  
  27.  
  28.    PROCEDURE ProcessButton ( WindowId    : INTEGER;
  29.                              MouseButton : INTEGER;
  30.                              ModifierKey : INTEGER;
  31.                              Clicks      : INTEGER );
  32.  
  33.       (* Process a mouse button event. *)
  34.  
  35.  
  36.    PROCEDURE ProcessKey ( WindowId    : INTEGER;
  37.                           Key         : INTEGER;
  38.                           ModifierKey : INTEGER );
  39.  
  40.       (* Process a keyboard event. *)
  41.  
  42.  
  43. END Event.
  44.  
  45.